﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Back/Shared/BackBBSSite.Master" 
Inherits="System.Web.Mvc.ViewPage<Wwtfly.BBS.BackModels.ViewModels.ExpertNews.ExpertNewsShowsViewModel>" %>
<%@ Import Namespace="Wwtfly.Utility" %>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div class="grid_search">
<% using (Html.BeginForm("Search"))
   { %>
   <ul>
        <li><span>专题标题: </span><%= Html.TextBoxFor(model => model.ExpertNewsShowsSearch.Extitle)%></li>
        <li><span>彩种类别: </span><%=Html.DropDownListFor(model => model.ExpertNewsShowsSearch.PlayId, Model.PlaysTypeList, "请选择")%></li>
    </ul>
    <hr class="hr1" />
    <div>
    <div class="search_btn_content">
     
        <%= Html.Submit("查询", "btn_submit",null) %>
        &nbsp;
        <%= Html.Button("重置", "btn_reset_search",null) %>
    </div>
    </div>
 <%} %>
</div>
  <div class="grid_list">
    <table>
        <tr>
            <th>
                编号
            </th>
            <th  class="w100">
               专家用户Id
            </th>
             <th >
                彩种类型
            </th>
            <th>
                彩种期号
            </th>
           
           <th class="w120">
               方案标题
            </th>
            <th class="w60">
                彩种方案发表时间
            </th>
            <th>
                彩种方案结束时间
            </th>
            <th class="w60">
                设置访问彩币数量
            </th>
            <th class="w120">
                审核信息
            </th>
            <th class="w130">
                操作
            </th>
            
        </tr>

    <% foreach (var item in Model.ExpertNewsShowsPages) { %>
    
        <tr>
            <td class="tC">
                <%= Html.Encode(item.Id) %>
              
            </td>
            <td>
                <%= Html.Encode(item.UserId)%>
            </td>
             <td>
                <%= Html.Encode(item.PlayId)%>
            </td>

               <td>
                <%= Html.Encode(item.PlayQiNo)%>
            </td>
             <td>
            <span title="<%=Html.Encode(item.Extitle) %>">
            <%=Html.Encode(Wwtfly.Utility.ContentHelper.Substring(item.Extitle, 20, "...", 0))%></span>
            </td>

            <td class="tC">
                <%= Html.Encode(String.Format("{0:g}", item.Uptime)) %>
            </td>
            <td class="tC">
                  <%= Html.Encode(String.Format("{0:g}", item.Endtime)) %>
            </td>
            <td>
                <%= Html.Encode(item.ColourMoney) %>
            </td>
            <td class="tC">
                <%= Html.Encode(item.CheckMsg=="1"?"已审核":"未审核")%> 
            </td>
  
                <td  class="tC">
                <%= Html.ActionLink("编辑", "Update", new { id = item.Id })%> |
                <%= Html.ActionLink("删除", "Delete", new { id = item.Id },
                           new { command = "delete" })%>
            </td>
        </tr>
    
    <% } %>

    </table>
</div>
   <div>
    <%=Html.Pager(this.Url,"Index",null) %>
    </div>

</asp:Content>

